package com.cloudcc.mobile.entity.comment;

import java.util.List;

import com.lidroid.xutils.db.annotation.Column;
import com.lidroid.xutils.db.annotation.Finder;
import com.lidroid.xutils.db.annotation.Table;

@Table(name = "CommentsMessage")
public class CommentsMessage {
	@Column(column = "id")
	private String id;
	@Finder(valueColumn = "id", targetColumn = "parentId")
	private List<Comments> list;

	public CommentsMessage(String id, List<Comments> list) {
		super();
		this.id = id;
		this.list = list;
	}

	public CommentsMessage() {
		super();
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public List<Comments> getList() {
		return list;
	}

	public void setList(List<Comments> list) {
		this.list = list;
	}

}
